package com.travelsky.login.api;

import java.io.Serializable;

/**
 * 登录请求对象
 */
public class LoginRequest implements Serializable {

  /**用户名*/
  private String userId;
  /**密码*/
  private String password;

  /**
   * Gets the value of userName.
   *
   * @return the value of userName
   */
  public String getUserId() {
    return userId;
  }

  /**
   * Sets the userName.
   *
   * @param userId userName
   * @return this
   */
  public LoginRequest setUserId(String userId) {
    this.userId = userId;
    return this;
  }

  /**
   * Gets the value of password.
   *
   * @return the value of password
   */
  public String getPassword() {
    return password;
  }

  /**
   * Sets the password.
   *
   * @param password password
   * @return this
   */
  public LoginRequest setPassword(String password) {
    this.password = password;
    return this;
  }
}
